home *** CD-ROM | disk | FTP | other *** search
- %05.11.92 jh Fixed for jumping EPS files
- %01.07.92 dj Removed the PU stuff not needed.
- %10.03.91 dj Fixed the box problem.
- %10.03.91 dj Took out teststate and /B not needed.
- %10.02.91 dj Took out acnormal not needed.
- %10.01.91 dj Removed clipbox and old audit trails.
- % 8.27.91 sr PU function
- /ACDict 400 dict def
- ACDict begin
- /bd{bind def}bind def
- /ed{exch def}bd
- /ld{load def}bd
- /tr/translate ld
- /gs/gsave ld
- /gr/grestore ld
- /M/moveto ld
- /L/lineto ld
- /rmt/rmoveto ld
- /rlt/rlineto ld
- /rct/rcurveto ld
- /st/stroke ld
- /np/newpath ld
- /sm/setmatrix ld
- /cm/currentmatrix ld
- /cp/closepath ld
- /ARC/arcn ld
- /TR{65536 div}bd
- /slj/setlinejoin ld
- /slc/setlinecap ld
- /sml/setmiterlimit ld
- /slw/setlinewidth ld
- /ct/curveto ld
- /PW 1 def
- /iP 5 def
- /mxF matrix def
- /mxE matrix def
- /fBE false def
- /iDevRes 72 0 matrix defaultmatrix
- dtransform dup mul exch
- dup mul add sqrt def
- /EJ{gsave showpage grestore}bd
- /#C{userdict begin/#copies ed end}bd
- /SetMetrics
- {
- 6 1 roll
- /iRes ed
- /cyP ed
- /cxP ed
- /cyM ed
- /cxM ed
- 72 iRes div dup
- neg scale
- 0 ne
- {cyP cxP neg tr 90 rotate cxM cyM}
- {cxM cyM cyP sub}
- ifelse
- tr
- 0 0 transform
- .25 add round
- .25 sub exch
- .25 add round
- .25 sub exch
- itransform
- tr
- }bd
- /AC_Start_EPS
- {
- /OldCTM m cm def
- iRes 100 div cxM neg mul iRes 100 div cyP cyM sub mul tr
- iRes 72 div dup neg scale
- /AC_EPS_Save save def
- 0 setgray 0 slc 1 slw 0 slj 10 sml []0 setdash np
- /showpage{}def
- /setscreen{pop pop pop}def
- }bd
- /AC_End_EPS
- {
- AC_EPS_Save restore
- OldCTM sm
- }bd
- /SJ
- {
- 1 index 0 eq
- {pop pop/fBE false def}
- {1 index/Break ed div/dxBreak ed/fBE true def}
- ifelse
- }bd
- /PC
- {
- iPUsingRGB 1 eq
- {iPRY iPGM iPBC setrgbcolor}
- {iPBC iPGM iPRY iPK setcmykcolor}
- ifelse
- }bd
- /pC
- {
- iPUsingRGB 0 eq
- {
- 1000 div /iPK ed
- }
- if
- 1000 div/iPBC ed
- 1000 div/iPGM ed
- 1000 div/iPRY ed
- }bd
- /BC
- {
- iBUsingRGB 1 eq
- {iBRY iBGM iBBC setrgbcolor}
- {iBBC iBGM iBRY iBK setcmykcolor}
- ifelse
- }bd
- /bC
- {
- iBUsingRGB 0 eq
- {
- 1000 div /iBK ed
- }
- if
- 1000 div/iBBC ed
- 1000 div/iBGM ed
- 1000 div/iBRY ed
- }bd
- /TC
- {
- iTUsingRGB 1 eq
- {iTRY iTGM iTBC setrgbcolor}
- {iTBC iTGM iTRY iTK setcmykcolor}
- ifelse
- }bd
- /tC
- {
- iTUsingRGB 0 eq
- {
- 1000 div /iTK ed
- }
- if
- 1000 div/iTBC ed
- 1000 div/iTGM ed
- 1000 div/iTRY ed
- }bd
- /HC
- {
- iHUsingRGB 1 eq
- {iHRY iHGM iHBC setrgbcolor}
- {iHBC iHGM iHRY iHK setcmykcolor}
- ifelse
- }bd
- /hC
- {
- iHUsingRGB 0 eq
- {
- 1000 div /iHK ed
- }
- if
- 1000 div/iHBC ed
- 1000 div/iHGM ed
- 1000 div/iHRY ed
- }bd
- /min
- {
- 2 copy gt{exch}if pop
- }bd
- /max
- {
- 2 copy lt{exch}if pop
- }bd
- /CP
- {
- /ft ed
- {
- {
- ft 0 eq
- {clip}
- {eoclip}
- ifelse
- }
- stopped
- {currentflat 1 add setflat}
- {exit}
- ifelse
- }
- loop
- }bd
- /F
- {
- /ft ed
- fm 256 and 0 ne
- {
- gs
- FC
- ft 0 eq
- {fill}
- {eofill}
- ifelse
- gr
- }
- if
- fm 1536 and 0 ne
- {
- SHR
- gs
- HC ft CP
- fm 1024 and 0 ne
- {/Tmp save def pfill Tmp restore}
- {fm 15 and hfill}
- ifelse
- gr
- }
- if
- }bd
- /patfont 10 dict def
- patfont begin
- /FontType 3 def
- /FontMatrix[-1 0 0 1 4 0] def
- /FontBBox [0 0 1 1] def
- /Encoding StandardEncoding def
- /BuildChar
- {
- pop pop
- 1 0 0 0 1 1 setcachedevice
- 16 16 false[16 0 0 16 0 0]{pat}imagemask
- }bd
- end
- /p
- {
- /pat 32 string def
- {
- }
- forall
- 0 1 7
- {
- dup 2 mul pat exch 3 index put
- dup 2 mul 1 add pat exch 3 index put
- dup 2 mul 16 add pat exch 3 index put
- 2 mul 17 add pat exch 2 index put
- pop
- }
- for
- }bd
- /pfill
- {
- /w iRes 10 div 8 div round 8 mul def
- /PatFont patfont definefont pop
- /PatFont findfont w scalefont setfont
- /ch(AAAA)def
- X0 w 4 mul X1
- {
- Y0 w Y1
- {
- 1 index exch M ch show
- }
- for
- pop
- }
- for
- }bd
- /hfill
- {
- 2 slw [] 0 setdash n
- /w iRes 20 div 8 div round 8 mul def
- dup 0 eq{horz}if
- dup 1 eq{vert}if
- dup 2 eq{fdiag}if
- dup 3 eq{bdiag}if
- dup 4 eq{horz vert}if
- 5 eq{fdiag bdiag}if
- }bd
- /vert
- {
- X0 w X1
- {
- dup Y0 M Y1 L st
- }for
- }bd
- /horz
- {
- Y0 w Y1
- {
- dup X0 exch M X1 exch L st
- }for
- }bd
- /fdiag
- {
- X0 w X1
- {Y0 M X1 X0 sub dup rlt st}for
- Y0 w Y1
- {X0 exch M Y1 Y0 sub dup rlt st}for
- }bd
- /bdiag
- {
- X0 w X1
- {Y1 M X1 X0 sub dup neg rlt st}for
- Y0 w Y1
- {X0 exch M Y1 Y0 sub dup neg rlt st}for
- }bd
- /SHR
- {
- pathbbox
- cvi 16#F or/Y1 ed
- cvi 16#F or/X1 ed
- cvi 16#FFFFFFF0 and/Y0 ed
- cvi 16#FFFFFFF0 and/X0 ed
- }bd
- /S
- {
- PW slw ACPenColor st
- }bd
- /GetAngle
- {
- Ty sub Sy div exch Tx sub Sx div atan
- }bd
- /m matrix def
- /GW
- {
- iRes 12 div PW add cvi
- }bd
- /DoW
- {
- iRes 50 div PW add cvi
- }bd
- /DW
- {
- iRes 8 div PW add cvi
- }bd
- /SP
- {
- /PW ed/iP ed
- iP 0 ge
- {
- iP 0 eq
- {[] 0 setdash}
- if
- iP 1 eq
- {[DW GW] 0 setdash}
- if
- iP 2 eq
- {[DoW GW] 0 setdash}
- if
- iP 3 eq
- {[DW GW DoW GW] 0 setdash}
- if
- iP 4 eq
- {[DW GW DoW GW DoW GW] 0 setdash}
- if
- }if
- }bd
- /E
- {
- /ThisCTM m cm def
- np tr scale 0 0 1 0 360 arc cp
- ThisCTM sm
- }bd
- /OB
- {
- gs
- np B 1 setgray fill
- gr
- }bd
- /AtoR
- {2 index sub exch 3 index sub exch}bd
- /restorestate {
- fontname (NONE) eq {tmpobj restore} if
- } bind def
- /svobja save def
- /iPRY 0 def
- /iPGM 0 def
- /iPBC 0 def
- /iPK 0 def
- /iBRY 0 def
- /iBGM 0 def
- /iBBC 0 def
- /iBK 0 def
- /iTRY 0 def
- /iTGM 0 def
- /iTBC 0 def
- /iTK 0 def
- /iHRY 0 def
- /iHGM 0 def
- /iHBC 0 def
- /iHK 0 def
- /iPUsingRGB 1 def
- /iBUsingRGB 1 def
- /iTUsingRGB 1 def
- /iHUsingRGB 1 def
- /ACSetPenRGB
- {
- /iPUsingRGB 1 def
- pC
- SP
- }def
- /ACSetPenYMCK
- {
- /iPUsingRGB 0 def
- pC
- SP
- }def
- /ACSetBrushRGB
- {
- /iBUsingRGB 1 def
- /iB ed
- iB 0 eq
- {bC}if
- }def
- /ACSetBrushYMCK
- {
- /iBUsingRGB 0 def
- /iB exch def
- iB 0 eq
- {bC}if
- }def
- /ACSetTextColorRGB
- {
- /iTUsingRGB 1 def
- tC
- }def
- /ACSetTextColorYMCK
- {
- /iTUsingRGB 0 def
- tC
- }def
- /ACSetHatchColorRGB
- {
- /iHUsingRGB 1 def
- hC
- }def
- /ACSetHatchColorYMCK
- {
- /iHUsingRGB 0 def
- hC
- }def
- /ACPenColor/PC ld
- /ACSolidColor/BC ld
- /ACTextColor/TC ld
- /ACHatchColor/HC ld
- /ACFillPoly
- {
- iB 0 eq{ACSolidColor fill}if
- iB 1 eq{}if
- iB 2 eq{}if
- iB 3 eq{ACPatColor fill}if
- }bd
- /ACEOFillPoly
- {
- iB 0 eq{ACSolidColor eofill}if
- iB 1 eq{}if
- iB 2 eq{}if
- iB 3 eq{ACPatColor eofill}if
- }bd
- /ACGDIStroke
- {
- iP 0 ge iP 5 lt and
- {S}
- {np}
- ifelse
- }bd
- /ACGDIEllipse
- {
- 1 index 4 index sub 2 div abs dup 0 eq{pop 1}if
- 1 index 4 index sub 2 div abs dup 0 eq{pop 1}if
- 6 -1 roll 5 -1 roll add 2 div
- 5 -1 roll 5 -1 roll add 2 div
- gs
- E
- /Now save def
- ACFillPoly
- Now restore
- ACGDIStroke
- gr
- }bd
- /ABox
- {
- /y3 ed/x3 ed
- /y2 ed/x2 ed
- /y1 ed/x1 ed
- /y0 ed/x0 ed
- /Sx x1 x0 sub 2 div abs dup 0 eq{pop 1}if def
- /Sy y1 y0 sub 2 div abs dup 0 eq{pop 1}if def
- Sx Sy min/r ed
- x0 x1 add 2 div/Tx ed y0 y1 add 2 div /Ty ed
- Tx Ty tr
- Sx r div Sy r div scale
- 0 0 r
- x0 x1 eq y0 y1 eq or
- {
- y0 y1 eq
- {
- x2 x3 le
- {90 180}
- {0 90}
- ifelse
- }
- {
- y2 y3 le
- {0 90}
- {270 360}
- ifelse
- }
- ifelse
- }
- {x3 y3 GetAngle x2 y2 GetAngle}
- ifelse
- }def
- /ACGDIArc
- {
- gs
- /ThisCTM m cm def
- ABox np arc ACGDIStroke
- ThisCTM m sm
- gr
- }def
- /ACGDIPie
- {
- gs
- /ThisCTM m cm def
- ABox np 0 0 M arc cp
- ThisCTM m sm
- /Now save def
- ACFillPoly
- Now restore
- ACGDIStroke
- gr
- }def
- /ratGdiDev{iDevRes iRes div}def
- /Align{ratGdiDev mul round ratGdiDev div}def
- /AlignXY{iRes iDevRes ne{Align exch Align exch}if}def
- /ACPolyPoints
- {
- {L}
- repeat
- }
- def
- /ACPL
- {
- mark 1 index 2 mul 2 add 1 roll
- np
- 3 1 roll
- .5 add exch .5 add exch M
- 1 sub{.5 add exch .5 add exch L}repeat
- ACGDIStroke
- cleartomark
- }bd
- /ACGDIPolyLine/ACPL ld
- /ACStartFill
- {
- np M
- }bd
- /ACEndFill
- {
- cp
- gs
- 0 ne
- {ACEOFillPoly}
- {ACFillPoly}
- ifelse
- gr
- ACGDIStroke
- }def
- /ACGDILine
- {
- /Now save def
- np
- 4 2 roll M L
- ACGDIStroke
- Now restore
- }bd
- /AT
- {
- ACTextColor
- /numChars exch cvi def
- /charString ed
- /charWidths ed
- /yChar exch cvi def/xChar exch cvi def
- /charCount -1 def
- numChars -1 add
- numChars
- {
- /charCount charCount 1 add def
- /char charString charCount 1 getinterval def
- /xChar charWidths charCount get cvi def
- xChar yChar M
- char show
- }repeat
- pop
- }bd
- /ACRR
- {
- /xt exch def
- /yt exch def
- /ang exch def
- /ThisCTM m cm def
- np
- /y2 ed/x2 ed/ys y2 x2 div 1 max def/xs x2 y2 div 1 max def
- /y1 exch ys div def/x1 exch xs div def/y0 exch ys div def
- /x0 exch xs div def/r2 x2 y2 min 2 div def
- xt yt translate
- ang rotate xs ys scale x0 r2 add y0 M
- x1 y0 x1 y1 r2 arcto 4{pop}repeat x1 y1 x0 y1 r2 arcto 4{pop}repeat
- x0 y1 x0 y0 r2 arcto 4{pop}repeat x0 y0 x1 y0 r2 arcto 4{pop}repeat cp
- ThisCTM sm
- }def
- /ACGDIRoundRect
- {
- gs
- ACRR
- /Now save def
- ACFillPoly
- Now restore
- ACGDIStroke
- gr
- }bd
- /ER
- {
- /ThisCTM m cm def
- np tr ang rotate scale 0 0 1 0 360 arc cp
- ThisCTM sm
- }bd
- /ACGDIREllipse
- {
- /ang exch def
- 1 index 4 index sub 2 div abs dup 0 eq{pop 1}if
- 1 index 4 index sub 2 div abs dup 0 eq{pop 1}if
- 6 -1 roll 5 -1 roll add 2 div
- 5 -1 roll 5 -1 roll add 2 div
- gs
- ER
- /Now save def
- ACFillPoly
- Now restore
- ACGDIStroke
- gr
- }bd
- /AD_SETSCREEN
- {
- /userangle exch def
- /userfreq exch def
- currentscreen
- /spotproc exch def
- /currangle exch def
- /currfreq exch def
- userangle currangle ne userfreq currfreq ne or
- {
- userfreq userangle {spotproc} setscreen
- }
- if
- }bd
- /AD_RGBIMAGE
- {
- /here save def
- /rotAngle exch def
- /bits exch def
- /h exch def
- /w exch def
- /dh exch def
- /dw exch def
- /y0 exch def
- /x0 exch def
- /sx w dw div def
- /sy h dh div def
- /imbuf w bits mul 3 mul 7 add 8 idiv string def
- x0 y0 translate
- rotAngle rotate
- w h bits [sx 0 0 sy 0 0] {currentfile imbuf readhexstring pop} false 3
- colorimage
- here restore
- } def
- /AD_CMYKIMAGE
- {
- /Now save def
- /bits ed
- /h ed/w ed
- /dh ed/dw ed
- /y0 ed/x0 ed
- /sx w dw div def/sy h dh div def
- /imbuf w bits mul 4 mul 7 add 8 idiv string def
- x0 y0 translate
- w h bits [sx 0 0 sy 0 0] {currentfile imbuf readhexstring pop}
- false 4 colorimage
- Now restore
- }bd
- /AD_CONTONEIMAGE
- {
- /Now save def
- /rotAngle ed
- /gry2 ed/gry1 ed
- /bits ed
- /h ed/w ed
- /dh ed/dw ed
- /y0 ed/x0 ed
- /sx w dw div def/sy h dh div def
- /imbuf w bits mul 7 add 8 idiv string def
- x0 y0 translate
- rotAngle rotate
- w h bits [sx 0 0 sy 0 0]
- {currentfile imbuf readhexstring pop} image
- Now restore
- }bd
- /AD_IMAGE
- {
- /Now save def
- /rotAngle ed
- /gry2 ed/gry1 ed
- /bits ed
- /h ed/w ed/dh ed/dw ed
- /y0 ed/x0 ed
- /sx w dw div def/sy h dh div def
- /imbuf w bits mul 7 add 8 idiv string def
- {
- 0 eq
- {gry1}
- {gry2}
- ifelse
- }
- settransfer
- x0 y0 tr
- rotAngle rotate
- w h bits [sx 0 0 sy 0 0] {currentfile imbuf readhexstring pop}
- image
- Now restore
- }bd
- /AD_IMAGEMASK
- {
- /Now save def
- /rotAngle ed
- /gry ed
- /invflg ed
- /h ed/w ed
- /dh ed/dw ed
- /y0 ed/x0 ed
- /sx w dw div def/sy h dh div def
- /imbuf w 1 mul 7 add 8 idiv string def
- gry setgray
- x0 y0 tr
- rotAngle rotate
- w h 1 invflg eq [sx 0 0 sy 0 0]{currentfile imbuf readhexstring pop}
- imagemask
- Now restore
- }bd
- {} settransfer
-
- /ACFillRect
- {
- /Now save def
- AtoR
- 4 2 roll
- np B
- gs
- ACFillPoly
- gr
- Now restore
- }bd
- /ACBEZLCLOSE {gs np M {ct} repeat cp ACGDIStroke np gr }def
- /ACBEZLINE {gs np M {ct} repeat ACGDIStroke np gr }def
- /ACBEZSHAPE {gs np M {ct} repeat cp ACFillPoly ACGDIStroke gr }def
- %%EndProlog
-